<div class="row-content am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <form id="my-form" class="am-form tpl-form-line-form" enctype="multipart/form-data" method="post">
                    <div class="widget-body">
                        <fieldset>
							<div class="widget-head am-cf">
                                <div class="widget-title am-fl">UU跑腿接口</div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label form-require">是否启用</label>
                                <div class="am-u-sm-9">
                                    <label class="am-radio-inline">
                                        <input type="radio" name="data[uu][is_open]" value="1" data-am-ucheck
                                            {$model['uu']['is_open'] == 1 ? 'checked' : ''} >
                                        是
                                    </label>
                                    <label class="am-radio-inline">
                                        <input type="radio" name="data[uu][is_open]" value="0" data-am-ucheck
                                            {$model['uu']['is_open'] == 0 ? 'checked' : ''} >
                                        否
                                    </label>
                                </div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label form-require">费用支付</label>
                                <div class="am-u-sm-9">
                                    <label class="am-radio-inline">
                                        <input type="radio" name="data[uu][pay_mode]" value="0" data-am-ucheck
                                            {$model['uu']['pay_mode'] == 0 ? 'checked' : ''} >
                                        余额支付
                                    </label>
                                    <label class="am-radio-inline">
                                        <input type="radio" name="data[uu][pay_mode]" value="1" data-am-ucheck
                                            {$model['uu']['pay_mode'] == 1 ? 'checked' : ''} >
                                        分账支付
                                    </label>
                                    <div class="help-block">
                                        <small>
                                            商家支付配送费的方式。<br>
                                            余额支付：需要保证商家在本站点有充足的余额。<br>
                                            分账支付：从用户支付的订单费用中扣除，需保证分账比例满足所扣除的金额
                                        </small>
                                    </div>
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    请求接口 <span class="tpl-form-line-small-title">API_URL</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[uu][api_url]"
                                           value="{$model['uu']['api_url']}">
								</div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    应用ID <span class="tpl-form-line-small-title">APP_ID</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[uu][app_id]"
                                           value="{$model['uu']['app_id']}">
									<small>我还没有 <a href="https://open.uupt.com/"  target="_blank">注册</a></small>
								</div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    应用密钥 <span class="tpl-form-line-small-title">APP_KEY</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[uu][app_key]"
                                           value="{$model['uu']['app_key']}">
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    账户ID <span class="tpl-form-line-small-title">OPEN_ID</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[uu][open_id]"
                                           value="{$model['uu']['open_id']}">
                                </div>
                            </div>
                            <div class="widget-head am-cf">
                                <div class="widget-title am-fl">顺丰同城接口</div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label form-require">是否启用</label>
                                <div class="am-u-sm-9">
                                    <label class="am-radio-inline">
                                        <input type="radio" name="data[sf][is_open]" value="1" data-am-ucheck
                                            {$model['sf']['is_open'] == 1 ? 'checked' : ''} >
                                        是
                                    </label>
                                    <label class="am-radio-inline">
                                        <input type="radio" name="data[sf][is_open]" value="0" data-am-ucheck
                                            {$model['sf']['is_open'] == 0 ? 'checked' : ''} >
                                        否
                                    </label>
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    请求接口 <span class="tpl-form-line-small-title">API_URL</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[sf][api_url]"
                                           value="{$model['sf']['api_url']}">
								</div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    开发者ID <span class="tpl-form-line-small-title">DevId</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[sf][app_key]"
                                           value="{$model['sf']['app_key']}">
									<small>我还没有开发者账号 <a href="http://commit-openic.sf-express.com/"  target="_blank">注册</a></small>
								</div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    开发者KEY <span class="tpl-form-line-small-title">DevKey</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[sf][app_secret]"
                                           value="{$model['sf']['app_secret']}">
                                </div>
                            </div>
							<div class="widget-head am-cf">
                                <div class="widget-title am-fl">达达快送接口</div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label form-require">是否启用</label>
                                <div class="am-u-sm-9">
                                    <label class="am-radio-inline">
                                        <input type="radio" name="data[dada][is_open]" value="1" data-am-ucheck
                                            {$model['dada']['is_open'] == 1 ? 'checked' : ''} >
                                        是
                                    </label>
                                    <label class="am-radio-inline">
                                        <input type="radio" name="data[dada][is_open]" value="0" data-am-ucheck
                                            {$model['dada']['is_open'] == 0 ? 'checked' : ''} >
                                        否
                                    </label>
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    请求接口 <span class="tpl-form-line-small-title">API_URL</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[dada][api_url]"
                                           value="{$model['dada']['api_url']}">
								</div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    开发者ID <span class="tpl-form-line-small-title">AppKey</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[dada][app_key]"
                                           value="{$model['dada']['app_key']}">
									<small>我还没有开发者账号 <a href="https://newopen.imdada.cn/"  target="_blank">注册</a></small>
								</div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    开发者KEY <span class="tpl-form-line-small-title">AppSecret</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[dada][app_secret]"
                                           value="{$model['dada']['app_secret']}">
                                </div>
                            </div>
							<div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    商户号 <span class="tpl-form-line-small-title">SourceId</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[dada][source_id]"
                                           value="{$model['dada']['source_id']}">
                                </div>
                            </div>
                            <div class="widget-head am-cf">
                                <div class="widget-title am-fl">码科配送接口</div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label form-require">是否启用</label>
                                <div class="am-u-sm-9">
                                    <label class="am-radio-inline">
                                        <input type="radio" name="data[make][is_open]" value="1" data-am-ucheck
                                            {$model['make']['is_open'] == 1 ? 'checked' : ''} >
                                        是
                                    </label>
                                    <label class="am-radio-inline">
                                        <input type="radio" name="data[make][is_open]" value="0" data-am-ucheck
                                            {$model['make']['is_open'] == 0 ? 'checked' : ''} >
                                        否
                                    </label>
                                </div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label form-require">费用支付</label>
                                <div class="am-u-sm-9">
                                    <label class="am-radio-inline">
                                        <input type="radio" name="data[make][pay_mode]" value="0" data-am-ucheck
                                            {$model['make']['pay_mode'] == 0 ? 'checked' : ''} >
                                        余额支付
                                    </label>
                                    <label class="am-radio-inline">
                                        <input type="radio" name="data[make][pay_mode]" value="1" data-am-ucheck
                                            {$model['make']['pay_mode'] == 1 ? 'checked' : ''} >
                                        分账支付
                                    </label>
                                    <div class="help-block">
                                        <small>
                                            商家支付配送费的方式。<br>
                                            余额支付：需要保证商家在本站点有充足的余额。<br>
                                            分账支付：从用户支付的订单费用中扣除，需保证分账比例满足所扣除的金额
                                        </small>
                                    </div>
                                </div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    请求接口 <span class="tpl-form-line-small-title">API_URL</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[make][api_url]"
                                           value="{$model['make']['api_url']}">
                                </div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    开发者ID <span class="tpl-form-line-small-title">AppId</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[make][appid]"
                                           value="{$model['make']['appid']}">
                                </div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-form-label">
                                    令牌 <span class="tpl-form-line-small-title">Token</span>
                                </label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="data[make][token]"
                                           value="{$model['make']['token']}">
                                </div>
                            </div>
                            <div class="am-form-group">
                                <div class="am-u-sm-9 am-u-sm-push-3 am-margin-top-lg">
                                    <button type="submit" class="j-submit am-btn am-btn-secondary">提交
                                    </button>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<script>
    $(function () {

        $('#my-form').formPost();
    });
</script>
